package com.itheima.service;


import com.itheima.pojo.Menu;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Role;
import com.itheima.pojo.User;
import com.itheima.pojo.UserEditVo;

import java.util.List;


public interface UserService {

    User loadUserByUsername(String username);

    List<Menu> getMeunList(String username);


    List<Role> findAll();

    void add(User user);

    PageResult findPage(QueryPageBean queryPageBean);

    UserEditVo find4Edit(Integer user);

    void edit(User user);

    void delete(Integer id);
}
